import Vue from 'vue'
import App from './App.vue'

import * as Sentry from "@sentry/browser";
import { Vue as VueIntegration } from "@sentry/integrations";
import { Integrations } from "@sentry/tracing";

process.env.NODE_ENV === 'production' && Sentry.init({
  dsn: "http://71bc2ac79e864eacba319b45a12c4d2f@localhost:9000/2",
  integrations: [
    new VueIntegration({
      Vue,
      tracing: true,
    }),
    new Integrations.BrowserTracing(),
  ],
  
  tracesSampleRate: 1,
  logErrors:true,
  release:'pro@1.0.1'
});

Vue.config.productionTip = false

new Vue({
  render: h => h(App),
}).$mount('#app')
